<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>使用es5语法编写选项式 vue3体验程序</title>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
</head>
<body>
    <div id="root">
        <h1>Hello World</h1>
        <h1>{{message}}</h1>
    </div>
</body>
<script type="text/javascript">
    const app = Vue.createApp({
        data(){
            return{
                message:"Hello Word!",
            }
        }
    })

    app.mount("#root")
//     挂载在root上

</script>
</html>